﻿#ifndef U_UserLoginPage_H
#define U_UserLoginPage_H

#include "Window/mydialog.h"

class UserLoginPage : public MyDialog
{
    Q_OBJECT
public:
    explicit UserLoginPage(QWidget *parent = nullptr);

protected:
    void keyPressEvent(QKeyEvent *event);

signals:

public slots:
    void OnBtnLoginClicked();
    void OnBtnCancelClicked();

private:

    void InitWidget();
    void SetupConnections();
    void Initialize();

    QPushButton  *btnLogin;
    QPushButton  *butCancel;

    QLineEdit    *editCode;
    QLineEdit    *editPassword;

};

#endif // U_UserLoginPage_H
